package com.sunday.study.classify.dao.impl;

import com.sunday.study.classify.dao.CommodityDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

@Slf4j
@Repository
public class CommodityDaoImpl implements CommodityDao {

    @Override
    public void save() {
        log.info("save running...");
    }

    @Override
    public void remove() {
        log.info("remove running...");
    }

    @Override
    public void update() {
        log.info("update running...");
        throw new RuntimeException("error");
    }
}
